/*
 * Copyright@www.it1997.com.
 * @Author: 陈晓晨
 * @Date: 2020/6/22
 * Description:版权所有 QQ:376231445
 */

package com.it1997.it1997admin.Controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Api(tags = "页面映射接口")
public class MappingController {
    @RequestMapping("/loginPage")
    public String loginPage(){
        return "login.html";
    }
    @RequestMapping("/indexPage")
    public String indexPage(){
        return "index.html";
    }
    @RequestMapping("/adminListPage")
    public String adminListPage(){
        return "page/admin/userList.html";
    }
    @RequestMapping("/roleListPage")
    public String roleListPage(){
        return "page/admin/roleList.html";
    }
    @RequestMapping("/permissionListPage")
    public String permissionListPage(){
        return "page/admin/permissionList.html";
    }
    @RequestMapping("/userAddPage")
    public String userAddPage(){
        return "page/admin/form/userAdd.html";
    }
    @RequestMapping("/userEditPage")
    public String userEditPage(){
        return "page/admin/form/userEdit.html";
    }
    @RequestMapping("/roleAddPage")
    public String roleAddPage(){
        return "page/admin/form/roleAdd.html";
    }
    @RequestMapping("/roleEditPage")
    public String roleEditPage(){
        return "page/admin/form/roleEdit.html";
    }
    @RequestMapping("/extractPage")
    public String extractPage(){
        return "page/admin/form/extract.html";
    }
    @RequestMapping("/monitorPage")
    public String monitorPage(){
        return "page/admin/monitorList.html";
    }
    @RequestMapping("/monitorScreenPage")
    public String monitorScreenPage(){
        return "page/admin/monitor/monitorScreen.html";
    }
}
